/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.hiddendanger.service.api;

import java.util.Date;
import java.util.List;

import org.swan.bean.MessageBean;

import com.koron.common.bean.StaffBean;
import com.koron.hiddendanger.bean.SafetyObservBean;

public interface SafetyObservService {
	MessageBean<?> insert(SafetyObservBean bean,StaffBean user);
	MessageBean<?> update(SafetyObservBean bean,StaffBean user);
	MessageBean<?> delete(String id,StaffBean user);
	MessageBean<?> list(String observerCode,String observerName,String corpCode,String behaviorTypeId,
			String gridCode,String deptCode,Date biginDate,	Date endDate,Integer page,Integer pageSize);
	MessageBean<?> details(String id);

	List<SafetyObservBean> exportList(StaffBean user, String corpCode, String observerCode, String observerName, String gridCode, String behaviorTypeId, String deptCode, Date biginDate, Date endDate);

}
